package com.bw.xiaosy.shiro;

import java.util.ArrayList;
import java.util.List;

/**
 * 不需要认证的接口url
 *
 * @author Xiaosy
 * @date 2017-03-20 17:19
 */
public class NotAuthorizationBean {

    public static final String LOGIN = "/login";
    public static final String LOGOUT = "/logout";

    private List<String> paths = new ArrayList<>();
    private String name;

    private NotAuthorizationBean() {
        paths.add(LOGIN);
        paths.add(LOGOUT);
    }

    public NotAuthorizationBean(String name) {
        this();
        this.name = name;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getPaths() {
        return paths;
    }

    public void setPaths(List<String> paths) {
        this.paths = paths;
    }
}
